<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * API Connect
 * 
 * Config for the API
 *
 * @author Simon Emms <simon@simonemms.com>
 */

/* Access tokens */
$config['api_connect'] = array(
    '_tokens' => array(
        'consumer_key' => '55567e1019ed0fddc006cb2ae4711d8004f93c4c4',
        'consumer_secret' => 'ab965861ee78c02912e8ad9be69530e7',
    ),
    '_force_login' => false, /* Do we force the user to login */
    '_token_session' => 'api_oauth_tokens', /* Session name */
    '_open_in_new_window' => true, /* Do links in Tweets get opened in a new window (add target="_blank" if true) */
    '_new_window_target' => '_blank',
    
    /* Cache method (remember to make /applications/cache writable) or false for no caching */
    '_cache_method' => array(
        'adapter' => 'apc',
        'backup' => 'file',
    ),
    '_cache_method' => false,
    'cache_timeout' => 60, /* Timeout in seconds */
    
    /* Most of these things shouldn't change */
    '_access_token_url' => 'http://api.vanilladb.com/oauth/access_token',
    '_api_url' => 'http://api.vanilladb.com',
    '_authorization_url' => 'http://api.vanilladb.com/oauth/authorize',
    '_request_token_url' => 'http://api.vanilladb.com/oauth/request_token',
    '_signature_method' => 'HMAC-SHA1',
    '_version' => '1.0',
    '_method' => 'json',
);

?>